package com.example.aitoedu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.aitoedu.entity.Conversation;
import com.example.aitoedu.vo.OnlyConversationVO;
import com.example.aitoedu.vo.OnlyTitleVO;
import com.example.aitoedu.vo.TitleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【conversation(对话信息)】的数据库操作Mapper
* @createDate 2024-08-28 19:43:11
* @Entity com.example.aitoedu.entity.Conversation
*/
public interface ConversationMapper extends BaseMapper<Conversation> {
    List<TitleVO> allConversation(Long sid);

    OnlyTitleVO onlyConversation(Long titleId);

    List<OnlyConversationVO> getOnlyOne(Long titleId);

    void allone(Long id);
}




